package com.example.cscot;
//
import android.widget.Button;
import android.widget.TextView;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
//
// 我开发APP中的全局变量都用这个WeiLe类来保存
// 项目中其余类中都可以访问，全局变量是只有一份实例，无需考虑界面切换引起的动态变化
// 因为static所以无this指针，通过类直接调用
//
public class WeiLe {
    //
    public static MainActivity mainActivity;
    public static MyApp myApp;
    //
    public static String gLogText = "";
    public static String gFullText = "";
    public static String gKeMu;
    public static String gKnowledge;
    public static String gGrade;
    public static String madeMap;
    public static List<String> gRawFiles = new ArrayList<>();
    public static Button gBtn;
    public static TextView gTv;
    // normal mode
    public static  char[] gAnswer = "??????".toCharArray();
    public static  int gQid = 0;
    // floating COT stuff
    public static  TextView gTvStudy;
    public static  boolean gToTeach;
    public static  HashMap<String, String> gHashMap;
    public static  String gEnglishSteps = "";
    //
    public static  int gCotBwidth;
    public static  int gCotBheight;
    public static  String gCotBody = "";
    public static  int gCotQwidth;
    public static  int gCotQheight;
    public static  String gCotQuestions = "";
    //
    public static  LewayChat gCotLlm;
    public static  LewayChat gDialogLlm;
    //
    // 无需构造函数，所有缺省值为相关内存清0，不符合的，请自行指定缺省值(可以调用函数的)
    //
} // >>> WeiLe
